Optimal. Leaf size=28 \[ -\frac {\tanh ^{-1}\left (\frac {\sqrt {a-b x^4}}{\sqrt {a}}\right )}{2 \sqrt {a}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {272, 65, 214}
\begin {gather*} -\frac {\tanh ^{-1}\left (\frac {\sqrt {a-b x^4}}{\sqrt {a}}\right )}{2 \sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 214
Rule 272
Rubi steps
\begin {align*} \int \frac {1}{x \sqrt {a-b x^4}} \, dx &=\frac {1}{4} \text {Subst}\left (\int \frac {1}{x \sqrt {a-b x}} \, dx,x,x^4\right )\\ &=-\frac {\text {Subst}\left (\int \frac {1}{\frac {a}{b}-\frac {x^2}{b}} \, dx,x,\sqrt {a-b x^4}\right )}{2 b}\\ &=-\frac {\tanh ^{-1}\left (\frac {\sqrt {a-b x^4}}{\sqrt {a}}\right )}{2 \sqrt {a}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 28, normalized size = 1.00 \begin {gather*} -\frac {\tanh ^{-1}\left (\frac {\sqrt {a-b x^4}}{\sqrt {a}}\right )}{2 \sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 30, normalized size = 1.07
method | result | size |
default | \(-\frac {\ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {-b \,x^{4}+a}}{x^{2}}\right )}{2 \sqrt {a}}\) | \(30\) |
elliptic | \(-\frac {\ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {-b \,x^{4}+a}}{x^{2}}\right )}{2 \sqrt {a}}\) | \(30\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 39, normalized size = 1.39 \begin {gather*} \frac {\log \left (\frac {\sqrt {-b x^{4} + a} - \sqrt {a}}{\sqrt {-b x^{4} + a} + \sqrt {a}}\right )}{4 \, \sqrt {a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 65, normalized size = 2.32 \begin {gather*} \left [\frac {\log \left (\frac {b x^{4} + 2 \, \sqrt {-b x^{4} + a} \sqrt {a} - 2 \, a}{x^{4}}\right )}{4 \, \sqrt {a}}, \frac {\sqrt {-a} \arctan \left (\frac {\sqrt {-b x^{4} + a} \sqrt {-a}}{a}\right )}{2 \, a}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.49, size = 53, normalized size = 1.89 \begin {gather*} \begin {cases} - \frac {\operatorname {acosh}{\left (\frac {\sqrt {a}}{\sqrt {b} x^{2}} \right )}}{2 \sqrt {a}} & \text {for}\: \left |{\frac {a}{b x^{4}}}\right | > 1 \\\frac {i \operatorname {asin}{\left (\frac {\sqrt {a}}{\sqrt {b} x^{2}} \right )}}{2 \sqrt {a}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.62, size = 24, normalized size = 0.86 \begin {gather*} \frac {\arctan \left (\frac {\sqrt {-b x^{4} + a}}{\sqrt {-a}}\right )}{2 \, \sqrt {-a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.21, size = 20, normalized size = 0.71 \begin {gather*} -\frac {\mathrm {atanh}\left (\frac {\sqrt {a-b\,x^4}}{\sqrt {a}}\right )}{2\,\sqrt {a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________